package com.sky.mapper;



import com.sky.dto.DishPageQueryDTO;

import com.sky.entity.Dish;
import com.sky.vo.DishVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishMapper {

    List<DishVO> pageQuery(DishPageQueryDTO dishPageQueryDTO);


    void startOrStop(Integer status, Long id);

    void save(Dish dish);

    void deleteById(Long id);

    Dish getById(Long id);

    void update(Dish dish);

    List<Dish> getByIds(Long id);

    List<Dish> selectList(Dish dish);

    List<Dish> getBysetmealId(Long id);
}
